﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _76超市收银系统
{

    /// <summary>
    /// 打折的父类
    /// </summary>
    abstract class CalFather
    {
        /// <summary>
        /// 计算打折后应付价格
        /// </summary>
        /// <param name="Money">打折前应付的价格</param>
        /// <returns>打折后应付的价格</returns>
        public abstract double GetToMoney(double Money);
    }
}
 